<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:if test="${not empty messege }">
	<font color="red" size="10">${messege }</font>
</c:if>
<form action="register.do" method="post">
	<table border="1" align="center">
		<tr>
			<td>사원 이름</td>
			<td><input type="text" name="employee_name"></td>
		</tr>
		<tr>
			<td>패스워드</td>
			<td><input type="password" name="employee_password"></td>
		</tr>
		<tr>
			<td>부서</td>
			<td><input type="text" name="employee_department"></td>
		</tr>
		<tr>
			<td>관리자 유무</td>
			<td>
				<input type="radio" name="employee_yn" value="Y">관리자
				<input type="radio" name="employee_yn" value="N">작업자
			</td>
		</tr>
		<tr>
			<td>사원주민번호</td>
			<td align="left" nowrap><input type="text" name="registration_number1" maxlength="6" onblur="chck();" size="6">-
				<input type="password" name="registration_number2" maxlength="7" onblur="chck()" size="7">
			</td>
		</tr>
		<tr>
			<td>핸드폰번호</td>
			<td>
				<select  name="phone_no01" >
					<option value="선택">선택</option>
						<option value='010'>010</option>
						<option value='011'>011</option>
						<option value='016'>016</option>
						<option value='017'>017</option>
						<option value='018'>018</option>
						<option value='019'>019</option>
						<option value='0130'>0130</option>
				</select>
				-<input type="text" name="phone_no02" maxlength="4" size="4" onblur="phone_ck()">
				-<input type="text" name="phone_no03" maxlength="4" size="4" onblur="phone_ck()">
			</td>
		</tr>
		<tr>
			<td colspan="2" align="right">
				<input type="submit" value="전송">
			</td>
		</tr>
	</table>
</form>
</body>
</html>
